import { request1 } from '@/utils/request'
/* export function getCodeAPI (data) {
  // 封装发送验证请求
  return request({
    url: '/au/code',
    method: 'post',
    data
  })
} */

/* export function loginAPI (data) {
  // 封装登录请求
  return request({
    url: '/au/login',
    method: 'post',
    data
  })
} */
export function userInfoAPI (params) {
  // 封装用户信息请求
  return request1({
    url: '/au/info',
    params

  })
}

export function eidtInfoAPI (data) {
  // 封装用户信息请求
  return request1({
    url: '/au/edit',
    data,
    method: 'post'

  })
}
